Commands for all device types COPY command INQUIRY command
SCSI-2

8.2.4 COPY AND VERIFY command

The COPY AND VERIFY command (see table 43) performs the same function as the COPY command, except that a verification of the data written to the destination logical unit is performed after the data is written. The parameter list transferred to the target is the same as for the COPY command. This parameter list contains the information to identify the logical units involved in the copy and the length of the copy. See 8.2.3 for additional information about the COPY command.

Table 43 - COPY AND VERIFY command

===============================================================================
|  Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
|Byte |        |        |        |        |        |        |        |        |
|=============================================================================|
| 0   |                           Operation code (3Ah)                        |
|-----------------------------------------------------------------------------|
| 1   | Logical unit number      |        Reserved          | BytChk |  Pad   |
|-----------------------------------------------------------------------------|
| 2   |                           Reserved                                    |
|-----------------------------------------------------------------------------|
| 3   | (MSB)                                                                 |
|---------                                                                 ---|
| 4   |                           Parameter list length                       |
|---------                                                                 ---|
| 5   |                                                                 (LSB) |
|-----------------------------------------------------------------------------|
| 6   |                           Reserved                                    |
|-----------------------------------------------------------------------------|
| 7   |                           Reserved                                    |
|-----------------------------------------------------------------------------|
| 8   |                           Reserved                                    |
|-----------------------------------------------------------------------------|
| 9   |                           Control                                     |
===============================================================================
A byte check (BytChk) bit of zero causes a medium verification to be performed with no data comparison. A BytChk bit of one causes a byte-by-byte comparison of data written on the destination medium and the data transferred from the source medium. If the comparison is unsuccessful for any reason, the copy manager shall return CHECK CONDITION status with the sense key set to MISCOMPARE. The remaining fields in the sense data shall be set as documented in the COPY command.